<!--
Copyright (c) 2025 Sidero Labs, Inc.

Use of this software is governed by the Business Source License
included in the LICENSE file.
-->
<script setup lang="ts">
defineSlots<{
  head(): unknown
  body(): unknown
}>()
</script>

<template>
  <table class="text-xs text-naturals-n13">
    <thead v-if="$slots.head" class="bg-naturals-n2 text-left">
      <slot name="head"></slot>
    </thead>

    <tbody v-if="$slots.body" class="[&_tr]:not-last-of-type:border-b">
      <slot name="body"></slot>
    </tbody>
  </table>
</template>
